﻿using Assets.Script.gamecore.unit;

namespace Assets.Script.gamecore.action
{
    /// <summary>
    /// 基类,包含动作的基础信息
    /// </summary>
    public class BaseAction
    {
        private bool _enable = true;
        public bool Enable { get { return _enable; } }

        private string _tag;
        public string Tag { get { return _tag; } set { _tag = value; } }

        //当前动作所属管理
        ActionManager _belongManager;
        public ActionManager BelongManager
        {
            get { return _belongManager; }
            set { _belongManager = value; }
        }

        //游戏里单位
        BaseObject _Object;
        public BaseObject ControlObject
        {
            get { return _Object; }
            set { _Object = value; }
        }

        public virtual void UpdateLogic()
        {

        }
    }
}
